package com.waitingsnow.common.share.events
{
    import flash.events.Event;

/**
 * 分享相关事件 
 * @author NeilWang
 * 
 */
public class ShareEvent extends Event
{
    //==========================================================================
    //  Class variables
    //==========================================================================
    /**
     * 登录完成 
     */    
    static public const AUTHORIZE_COMPLETE:String = "authorizeComplete";
    
    /**
     * 登录失败 
     */    
    static public const AUTHORIZE_ERROR:String = "authorizeError";
    
    /**
     * 分享完成 
     */    
    static public const SHARE_COMPLETE:String = "shareComplete";
    
    /**
     * 分享失败 
     */    
    static public const SHARE_ERROR:String = "shareError";
    
    //==========================================================================
    //  Constructor
    //==========================================================================
    /**
     * Constructs a new <code>ShareEvent</code> instance.
     * 
     */
    public function ShareEvent(type:String, 
                               bubbles:Boolean=false,
                               cancelable:Boolean=false)
    {
        super(type, bubbles, cancelable);
    }
	
	//==========================================================================
	//  Methods
	//==========================================================================
	override public function clone():Event
	{
		var event:ShareEvent = new ShareEvent(type, bubbles, cancelable);
		return event;
	}
}
}